import React from 'react';
import { RouterProvider } from 'react-router-dom';
import { Provider } from 'react-redux';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/locale/zh_CN';
import { store } from './store';
import { router } from './router';
import './App.scss';

// 主应用组件
const App: React.FC = () => {
  return (
    <Provider store={store}>
      <ConfigProvider locale={zhCN}>
        <div className="App">
          <RouterProvider router={router} />
        </div>
      </ConfigProvider>
    </Provider>
  );
};

export default App; 